package com.immortal.core.module.jpa;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageImpl;
import org.springframework.data.domain.Pageable;

import java.util.List;

public class PageKit {
    public static Page  page(List list, Pageable pageable,long total){
        return new PageImpl(list,pageable,total);
    }
}
